
<SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT>					
function DoDateTime(str, nNamedFormat, nLCID)				
	dim strRet								
	dim nOldLCID								
										
	strRet = str								
	If (nLCID > -1) Then							
		oldLCID = Session.LCID						
	End If									
										
	On Error Resume Next							
										
	If (nLCID > -1) Then							
		Session.LCID = nLCID						
	End If									
										
	If ((nLCID < 0) Or (Session.LCID = nLCID)) Then				
		strRet = FormatDateTime(str, nNamedFormat)			
	End If									
										
	If (nLCID > -1) Then							
		Session.LCID = oldLCID						
	End If									
										
	DoDateTime = strRet							
End Function									
</SCRIPT>

<html>
<head>
<title>My Invoice</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<SCRIPT LANGUAGE="JavaScript">
function BrowseLL(){
window.open("LL_Browse.htm","","width=600,height=480,Top=25,Left=25,toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,resizable=no,")
}

function opennew(url)
{
window.open(url,"","toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=yes,resizable=yes,")
}

<!-- Begin
function checkrequired(which) {
var pass=true;
if (document.images) {
for (i=0;i<which.length;i++) {
var tempobj=which.elements[i];
if (tempobj.name.substring(0,3)=="req") {
if (((tempobj.type=="text"||tempobj.type=="textarea")&&
tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&
tempobj.selectedIndex==0)) {
pass=false;
break;
         }
      }
   }
}
if (!pass) {
shortFieldName=tempobj.name.substring(3,30).toUpperCase();
alert("Please make sure the "+shortFieldName+" field was properly completed.");
return false;
}
else
return true;
}
//  End -->


</SCRIPT>
<SCRIPT language=JavaScript src="date-picker.js">
</SCRIPT>

<link rel="stylesheet" href="CAR_style.css" type="text/css">

</head>

<body bgcolor="#93bee2" text="#000000" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" onLoad="DocLoad()">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" VSPACE=0>
  <tr> 
    <td width="4%" bgcolor="#003399"><img src="images/28enterprise.gif" width="29" height="28"></td>
    <td colspan="2" bgcolor="#003399"> <font color="#FFFFFF"><b><font size="2">Invoice 
      Approval</font></b></font></td>
    <td bgcolor="#003399" width="30%"> 
      <div align="right"><a href="javascript:opennew('http://www.premier-oil.com')"><img src="Images/premier_right.jpg" width="180" height="30" border="0"></a></div>
    </td>
  </tr>
  <tr valign="middle"> 
    <td width="4%" valign="middle" bgcolor="#CCCCCC" height="27"> 
      <div align="right"><img src="images/panah.gif" width="15" height="15"></div>
    </td>
    <td colspan="2" bgcolor="#CCCCCC" height="27"><b><%= UsrFullName %> <% if (isUC="Y") then %>&nbsp;&nbsp;- User Coordinator <% end if %></b></td>
    <td bgcolor="#CCCCCC" width="30%" height="27" valign="middle">
      <div align="right"><font color="#000000" size="1"><%= DoDateTime(Date, 1, 1033)%></font> </div>
    </td>
  </tr>
  <tr valign="middle" bgcolor="#FFFFFF"> 
    <td height="14" width="4%"> </td>
    <td height="14" width="30%">&nbsp;</td>
    <td colspan="3" height="14" valign="middle"> 
      <div align="right"><a href="#" onClick="window.open('Docs/AP_manual.pdf')" class="RedLink">User 
        Guide</a>&nbsp;<img src="images/b02.gif" width="16" height="16">&nbsp;&nbsp;</div>
    </td>
  </tr>
</table>
